package e2.entities;

import java.io.Serializable;
import java.util.Calendar;
import javax.persistence.*;
import static javax.persistence.TemporalType.DATE;
/**
 * Entity implementation class for Entity: RelatorioAluno
 *
 */
@Entity

public class RelatorioAluno implements Serializable {

	   
	@Id
	private long id;
	private static final long serialVersionUID = 1L;
        
        @ManyToOne
        private Aluno aluno;
        
        @Temporal (DATE)
        private Calendar dataUpload;
        
        @OneToOne
        private Estagio estagio;
	public RelatorioAluno() {
		 
	}   
	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

    /**
     * @return the aluno
     */
    public Aluno getAluno() {
        return aluno;
    }

    /**
     * @param aluno the aluno to set
     */
    public void setAluno(Aluno aluno) {
        this.aluno = aluno;
    }

    /**
     * @return the dataUpload
     */
    public Calendar getDataUpload() {
        return dataUpload;
    }

    /**
     * @param dataUpload the dataUpload to set
     */
    public void setDataUpload(Calendar dataUpload) {
        this.dataUpload = dataUpload;
    }

    /**
     * @return the estagio
     */
    public Estagio getEstagio() {
        return estagio;
    }

    /**
     * @param estagio the estagio to set
     */
    public void setEstagio(Estagio estagio) {
        this.estagio = estagio;
    }
   
}
